package com.core.cloundbusinessapi.system.depart.vo;

import lombok.Getter;
import lombok.Setter;

/**
 * @author =====Lqj=====
 * @className CloudSystemDepartVO
 * @description
 * @create 2024/11/29 14:13
 **/
@Getter
@Setter
public class CloudSystemDepartVO {

    /**
     * 部门id
     */
    private String id;

    /**
     * 上一级单位ID
     */
    private Long parentId;

    /**
     * 部门名称
     */
    private String departName;

    /**
     * 部门编码
     */
    private String departCode;


    public boolean judge() {
        return (this.id == null &&
                this.parentId == null &&
                this.departName == null &&
                this.departCode == null);
    }

}
